<%-- 
    Document   : login
    Created on : 26-ene-2012, 10:54:12
    Author     : Jorge
--%>

<%@page contentType="text/html" pageEncoding="UTF-8" errorPage="error.jsp"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <script type="text/javascript" src="resources/js/jquery-1.4.2.min.js"></script>
        <!-- 960 Grid -->
        <link rel="stylesheet" type="text/css" href="css/960/960.css"/>
        <link rel="stylesheet" type="text/css" href="css/960/reset.css"/>
        <link rel="stylesheet" type="text/css" href="css/960/text.css"/>
        <link rel="stylesheet" type="text/css" href="css/Estilos.css"/>
        <title>TelePaSOS</title>
    </head>
    <body>
        <jsp:include page="header.jsp"/>
        <div class="container_12">
            <div class="separator"></div>
            <div class="separator"></div>
            <div class="grid_6 prefix_3 suffix_3">
                <div class="separator"></div>
                <div class="titulo head">Inicio de sesión</div>
                <div id="formLogin">
                    <form method="POST" action="Login">
                        <div class="form-item">
                            <div class="separator"></div>
                            <label>Usuario</label>
                            <input type="text" name="operador" size="20" maxlength="20" class="text"/>
                        </div>
                        <div class="form-item">
                            <div class="separator"></div>
                            <label>Contraseña</label>
                            <input type="password" name="password" size="20" maxlength="20" class="text"/>
                        </div>
                        <a href onclick="$(this).closest('form').submit(); return false" role="button" class="button">Iniciar sesión</a>
                        <input type="submit" style="visibility: hidden" role="button" aria-disabled="false"/>
                    </form>
                </div>
                <c:if test="${error ne null}">
                    <div class="separator"></div>
                    <div class="separator"></div>
                    <div id="error">
                        <h4>${error}</h4>
                    </div>
                </c:if>
            </div>
        </div>
    </body>
</html>
